package com.order.server.feign;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;

@FeignClient(value = "stock-server")
public interface StockFeignClient {

    @GetMapping("/stock/reduce")
    String reduce(String productId);

}
